Release 10.1A: OpenEdge Development:
ADM Reference


loadImage

Returns the index of some image file in the ImageList, first loading it if necessary. If the load fails, the function returns 0 (zero).

Location: treeview.p

Parameters:

INPUT pcImageFile AS CHARACTER

The file of interest.

Returns: INTEGER PRIVATE

Notes: The filename must specify the relative path and filename with the extension. Since the image list does not contain any images, the ImageList property is assigned to the TreeView only once, after an image is added.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095